package com.cskaoyan.bean.vo;

import com.cskaoyan.bean.pojo.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author: thz
 * @class: WxGoodsDetailVO
 */
@NoArgsConstructor
@Data
public class WxGoodsDetailVO {

    private int userHasCollect;
    private String shareImage = "";
    private CommentBean comment;
    private Brand brand;
    private Goods info;
    private List<SpecificationListBean> specificationList;
    private List<GrouponRules> groupon;
    private List<Issue> issue;
    private List<GoodsAttribute> attribute;
    private List<GoodsProduct> productList;

    @NoArgsConstructor
    @Data
    public static class CommentBean {
        private long count;
        private List<DataBean> data;

        @AllArgsConstructor
        @NoArgsConstructor
        @Data
        public static class DataBean {
            private Date addTime;
            private String nickname;
            private Integer id;
            private String avatar;
            private String content;
            private String[] picList;
        }
    }

    @NoArgsConstructor
    @Data
    @AllArgsConstructor
    public static class SpecificationListBean {
        private String name;
        private List<GoodsSpecification> valueList;
    }


}
